//
//  BKMyOrderDerTableviewCellHederAndFooter.h
//  bestkeep
//
//  Created by Mr. Wu on 16/12/12.
//  Copyright © 2016年 utouu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BKMyOrderDiscountView.h"
#import "BKMyOrderBottomView.h"
@interface BKMyOrderDerTableviewCellHederAndFooter : UIView
@property(nonatomic,assign) id sectiondelegate;
-(void)fillData:(id)data;
@end

//头视图;
@interface BKMyOrderTableviewCellHeder: BKMyOrderDerTableviewCellHederAndFooter
@property(nonatomic,strong) UIView *addressView;
@property(nonatomic,strong) UILabel *addresLabel;
@property(nonatomic,strong) UIImageView *ImgV_Address;
@property (nonatomic, strong) UILabel * lab_predict_FaHuo;
@end


@protocol BKOrderFooterViewDelegate <NSObject>

//点击按钮组
- (void)BKOrderFooterViewDelegate_ClickBtn:(UIButton *)btn;
//点击展开更多按钮
- (void)BKOrderFooterViewDelegate_ShowBtn:(CGFloat)height;
@end
@interface BKMyOrderDerTableviewCellFooter : BKMyOrderDerTableviewCellHederAndFooter

@property(nonatomic,strong)BK_My_DetailOrder_Model *orderModel;
@property(nonatomic,assign)float footHeight;
@property (nonatomic,strong) UIView* view_line;//中线
@property (nonatomic,strong) UIView* view_down;//下半部分
@property(nonatomic,strong)BKMyOrderDiscountView *discountView;

@property (nonatomic,strong) UILabel* lab_detail;

@property (nonatomic,strong) UILabel* lab_payPrice;  // 实付款金额

@property (nonatomic,strong)UIButton *btn_showDetail;//打开付款详情
@property (nonatomic,strong)UIImageView*ImgV_showDetail;

@property (nonatomic,strong) UILabel* lab_payTime;//等待付款时间
@property (nonatomic,strong) UILabel* lab_time;//剩余时间

@property (nonatomic, strong) NSTimer *timer_move;//计时器
@property(nonatomic,assign)long long_time;//剩余支付时间;
@property(nonatomic,strong)BKMyOrderBottomView *bottomView;

/**
 *  底部选择框按钮组
 */
#pragma ===========注意：此按钮组同一个点击事件 【事件根据text判断】{"删除订单"、"去付款"、"取消订单"、"订单详情"、"确认收货"、"延长收货"、"查看物流"}   从右边向左边排列
@property (nonatomic,strong) UIButton* btn_right_one;   // 最右边1
@property (nonatomic,strong) UIButton* btn_right_two;   // 最右边2
@property (nonatomic,strong) UIButton* btn_right_three; // 最右边3
@property (nonatomic,strong) UIButton* btn_right_four;  // 最右边4

@end
